package com.itmg.analyze.thread;

import com.itmg.factory.AnalyzeFactory;
import com.itmg.vo.SearchResultVO;
import com.itmg.vo.TargetDataVO;

public class RakutenAuctionSearchThread implements Runnable {

	private TargetDataVO rakutenAuctiondata;
	private SearchResultVO rekutenAuctionVO;
	
	public SearchResultVO getKakakuVO(){
		return rekutenAuctionVO;
	}
	
	public RakutenAuctionSearchThread(TargetDataVO rakutenAuctiondata){
		this.rakutenAuctiondata = rakutenAuctiondata;
	}


	public void run() {
		try {
			rekutenAuctionVO = AnalyzeFactory.getRakutenAuctionDataAnlyze().getSearchResultItemVO(rakutenAuctiondata);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}


}
